﻿using System;
using Castle.ActiveRecord;

namespace FileManager_Server.DataLayer.Castle_Model
{
    [ActiveRecord("FC_FILE")]
    public class FileDbModel : ActiveRecordBase<FileDbModel>
    {
        [PrimaryKey(PrimaryKeyType.Assigned)]
        public string FILESID { get; set; }
        [Property]
        public string FILENAME { get; set; }
        [Property]
        public string PARENTID { get; set; }
        [Property]
        public string FILEPATH { get; set; }
        [Property]
        public bool FILETYPE { get; set; }
        [Property]
        public string OWNERID { get; set; }
        [Property]
        public bool ISSHARE { get; set; }
        [Property]
        public bool ISFILE { get; set; }
        [Property]
        public string FILEDESCRIBE { get; set; }
        [Property]
        public string CREATOR { get; set; }
        [Property]
        public string CREATORID { get; set; }
        [Property]
        public DateTime CREATETIME { get; set; }
        [Property]
        public string UPDATERID { get; set; }
        [Property]
        public string UPDATER { get; set; }
        [Property]
        public DateTime UPDATETIME { get; set; }
        [Property]
        public string FILEMARK { get; set; }
        [Property]
        public int FILESORT { get; set; }
        [Property]
        public long FILESIZE { get; set; }
    }
}